package thoven.achievement.net.ideapluginachievement.action

import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi.actionSystem.AnActionEvent
import thoven.achievement.net.ideapluginachievement.ui.CodeStatsDialog

/**
 * 显示代码统计对话框的Action
 */
class ShowCodeStatsAction : AnAction() {
    
    override fun actionPerformed(e: AnActionEvent) {
        val project = e.project ?: return
        
        val dialog = CodeStatsDialog(project)
        dialog.show()
    }
} 